package com.wudimeng.syll.service.impl;


import com.wudimeng.syll.common.ApiResponse;
import com.wudimeng.syll.dao.ICommonDAO;
import com.wudimeng.syll.dao.IXingZhengQuYuDAO;
import com.wudimeng.syll.service.ICommonService;
import com.wudimeng.syll.service.IXingZhengQuYuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service
public class CommonService implements ICommonService {

    @Autowired
    private ICommonDAO dao;


    @Override
    public ApiResponse selectChinaCustoms() {
        return ApiResponse.instance(dao.selectChinaCustoms());
    }

    @Override
    public ApiResponse selectCountry() {
        return ApiResponse.instance(dao.selectCountry());
    }

    @Override
    public ApiResponse selectEntryPort() {
        return ApiResponse.instance(dao.selectEntryPort());
    }
}
